import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
//引入vant组件库
import Vant from 'vant'
//引入vant的css样式
import 'vant/lib/index.css'

// 引入element-plus(饿了么)组件库
import Element from 'element-plus'
// 引入element-plus的css样式
import 'element-plus/dist/index.css'

const app = createApp(App)

//注册组件 
app.use(Vant)
app.use(Element)

app.use(router)

app.mount('#app')
